﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DesignPatterns.ProxyPattern
{
    public class Maths : IMaths
    {
        public double Add(double x, double y) 
        { 
            return x + y; 
        }

        public double Sub(double x, double y) 
        { 
            return x - y; 
        }

        public double Mul(double x, double y) 
        { 
            return x * y; 
        }

        public double Div(double x, double y) 
        { 
            return x / y; 
        }
    }
}
